home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / os2 / pccts.zip / ERR.C < prev    next >
C/C++ Source or Header  |  1992-12-08  |  2KB  |  78 lines

  1. /*
  2.  * A n t l r  S e t s / E r r o r  F i l e  H e a d e r
  3.  *
  4.  * Generated from: dlg_p.g
  5.  *
  6.  * Terence Parr, Hank Dietz and Will Cohen: 1989-1992
  7.  * Purdue University Electrical Engineering
  8.  * ANTLR Version 1.06
  9.  */
  10.  
  11. #include <stdio.h>
  12. #include <ctype.h>
  13. #include "dlg.h"
  14. #ifdef MEMCHK
  15. #include "trax.h"
  16. #else
  17. extern char *malloc();
  18. extern char *calloc();
  19. #endif
  20. #define zzEOF_TOKEN 1
  21. #define zzSET_SIZE 3
  22. #include "antlr.h"
  23. #include "dlgdef.h"
  24. #include "err.h"
  25.  
  26. char *zztokens[34]={
  27.     /* 00 */    "Invalid",
  28.     /* 01 */    "EOF",
  29.     /* 02 */    "[\\r\\t\\ ]+",
  30.     /* 03 */    "[\\n]",
  31.     /* 04 */    "L_EOF",
  32.     /* 05 */    "PER_PER",
  33.     /* 06 */    "NAME_PER_PER",
  34.     /* 07 */    "ACTION",
  35.     /* 08 */    "GREAT_GREAT",
  36.     /* 09 */    "L_BRACE",
  37.     /* 10 */    "R_BRACE",
  38.     /* 11 */    "L_PAR",
  39.     /* 12 */    "R_PAR",
  40.     /* 13 */    "L_BRACK",
  41.     /* 14 */    "R_BRACK",
  42.     /* 15 */    "ZERO_MORE",
  43.     /* 16 */    "ONE_MORE",
  44.     /* 17 */    "OR",
  45.     /* 18 */    "RANGE",
  46.     /* 19 */    "NOT",
  47.     /* 20 */    "OCTAL_VALUE",
  48.     /* 21 */    "HEX_VALUE",
  49.     /* 22 */    "DEC_VALUE",
  50.     /* 23 */    "TAB",
  51.     /* 24 */    "NL",
  52.     /* 25 */    "CR",
  53.     /* 26 */    "BS",
  54.     /* 27 */    "LIT",
  55.     /* 28 */    "REGCHAR",
  56.     /* 29 */    "\\>",
  57.     /* 30 */    "\\\\>",
  58.     /* 31 */    "\\",
  59.     /* 32 */    "\\n",
  60.     /* 33 */    "~[\\>\\@\\n]+"
  61. };
  62. unsigned zzerr1[3] = {0x60, 0x0, 0x0};
  63. unsigned zzerr2[3] = {0xaaf0, 0x1ff9, 0x0};
  64. unsigned zzerr3[3] = {0xaa90, 0x1ff9, 0x0};
  65. unsigned zzerr4[3] = {0xaa10, 0x1ff9, 0x0};
  66. unsigned zzerr5[3] = {0x2a10, 0x1ff8, 0x0};
  67. unsigned setwd1[34] = {0x0,0x3,0x0,0x0,0xf598,0x164,0x164,
  68.     0xab1a,0x0,0xb598,0xaa00,0xb598,0xaa00,0xb598,0x0,
  69.     0xa598,0xa598,0xa800,0x0,0xb598,0xf598,0xf598,0xf598,
  70.     0xf598,0xf598,0xf598,0xf598,0xf598,0xf598,0x0,0x0,
  71.     0x0,0x0,0x0};
  72. unsigned zzerr6[3] = {0x10, 0x1ff0, 0x0};
  73. unsigned setwd2[34] = {0x0,0x0,0x0,0x0,0x1d,0x0,0x0,
  74.     0x18,0x0,0x18,0x18,0x18,0x18,0x18,0x16,
  75.     0x18,0x18,0x18,0x10,0x18,0x1d,0x1d,0x1d,
  76.     0x1d,0x1d,0x1d,0x1d,0x1d,0x1d,0x0,0x0,
  77.     0x0,0x0,0x0};
  78.